import request from "../utils/request"

export const  getSearchSuggestion=(q)=>{
    return request({
        method:"GET",
        url:"/newuser/suggestion", 
        params:{q}
    })
}

export const getSearchResult=(params)=>{

    return request({
        method:"GET",
        url:"/newuser/getsearch", 
        params 
    });

}